//
//  SDHomeCell.m
//  skinDetection
//
//  Created by  liangzhun on 2018/10/30.
//  Copyright © 2018年  liangzhun. All rights reserved.
//

#import "SDHomeCell.h"

@implementation SDHomeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.productImage.layer.cornerRadius = 3.f;
    self.productImage.layer.masksToBounds = YES;
}

- (void)setModel:(SDHomeProductList *)model
{
    [self.productImage sd_setImageWithURL:[NSURL URLWithString:model.img] placeholderImage:nil];
    [self.productTitleLab setText:model.productName];
}
@end
